<script>
	var timer = null
	export default {
		onLaunch: function() {
			console.log('App Launch')
			this.$store.dispatch("GetInfo")

			// this.$func.getMapAddress()


			// this.$store.dispatch("GetSystem")
			// wx.getSetting({
			//   withSubscriptions: true,
			//   success (res) {
			//     console.log(res.authSetting)
			// 	console.log(res.subscriptionsSetting)
			//   }
			// })

			// wx.requestSubscribeMessage({
			//   tmplIds: [''],
			//   success (res) { }
			// })

		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/index.scss";
	// .uni-calendar-item--isDay {
	// 	background-color: rgba(0, 0, 0, 0)!important;
	// }
	// .uni-calendar__backtoday {
	// 	&::before{
	// 		content: '返回';
	// 	}
	// }
	// @import '/static/css/iconfont.css';
	.textarea  {
		img {
			max-width: 100%;
		}
	}

	.flex-c {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.flex-s {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.main_bg {
		background-color: #F7F7F7;
		min-height: 100vh;
	}

	.primary_color {
		color: #0055A6;
	}

	.base_btns {
		width: 540rpx;
		height: 88rpx;
		background: #FC7032;
		opacity: 1;
		border-radius: 120rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 32rpx;
		font-weight: 400;
		line-height: 46rpx;
		color: #fff;
		opacity: 1;
		margin: 55rpx auto;

		&.btns_f {
			background-color: #188B7E;
			color: #FFFFFF;
		}

		&.btns_s {
			background: #FFFFFF;
			border: 1px solid #FC7032;
			color: #FC7032;
		}
	}

	.u-tabbar__content {
		background-color: rgba(255, 255, 255, 1) !important;
		border-top: none !important;
	}

	.fixed-btm {
		height: 140rpx;
		box-shadow: 0px 0px 8rpx 0px rgba(216, 216, 216, 1);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
	}

	.u-modal__button-group__wrapper__text {
		color: #3d9bff !important;
	}

	.u-navbar--fixed {
		z-index: 9999999 !important;
	}


 

	.u-border-bottom {
		border-color: #EDEDED !important;
	}

	.u-tag--mini {
		height: 18px !important;
		border-radius: 4px !important;
	}

	.dot_icon {
		width: 8px;
		height: 8px;
		background-color: #0055A6;
		border-radius: 50%;

	}

	.u-index-anchor {
		background-color: #F2F2F2 !important;
	}

	.u-line {
		border-color: #EDEDED !important;
	}

	.next {
		.next_son {
			height: 49px;
			color: #0055A6;
			border-bottom: 1px solid #EDEDED;
			font-size: 14px;
			padding: 0 15px;

			.name {
				color: #333333;
				width: 120rpx;
			}

			.post {
				color: #999999;
				width: 280rpx;
			}

			&.qx {
				color: #333333;
				border: none;
			}
		}
	}

	.list_icon,
	.dot_icon {
		&.type_color_1 {
			background-color: #0055A6 !important;
		}

		&.type_color_2 {
			background-color: #00B034 !important;
		}

		&.type_color_3 {
			background-color: #FC7032 !important;
		}

		&.task_status_1 {
			background-color: #FFFFFF !important;
			border: 1px solid #DADADA;
			width: 7px !important;
			height: 7px !important;

			&.cando {
				border: 1px solid #999999;
			}
		}

		&.task_status_2 {
			background-color: #00B034 !important;
			// border:1px solid #00B034;
			width: 10px !important;
			height: 10px !important;
		}
	}

	.type_menu {
		padding-left: 10px;
		height: 40px;
	}

	.u-tabbar--fixed {
		box-shadow: 0px 0px 4px 0px rgba(216, 216, 216, 0.38);
	}

	.u-badge--dot {
		right: 50% !important;
		margin-right: -12px;
	}
	
	.cell {
		display: flex;
		align-items: center;
		justify-content:space-between;
		min-height: 90rpx;
		&.border {
			border-bottom: 1px solid #E9E9E9;
		}
		.label {
			min-width: 140rpx;
			color: #ADADAD;
			font-size: 28rpx;
		}
		.value {
			color: #333333;
			font-size: 30rpx;
			display: flex;
			align-items: center;
			justify-content:flex-end;
		}
		
	}
	.inspection_status_0 {
		color: #D81E06!important;
	}
	
	.inspection_status_1 {
		color: #4F6FF6!important;
	}
	.re_status_0 {
		color: #D81E06!important;
	}
	
	.re_status_1 {
		color: #4F6FF6!important;
	}
	.re_status_2 {
		color: #4F6FF6!important;
	}
	.re_status_3 {
		color: #00B034!important;
	}
</style>